--DO NOT MODIFY THIS FILE. IT IS ALWAYS OVERWRITTEN ON GENERATION.
--Audit Triggers For Version 0.0.0.0

--##SECTION BEGIN [AUDIT TRIGGERS]

--DROP ANY AUDIT TRIGGERS FOR [dbo].[Log]
if exists(select * from sysobjects where name = '__TR_Log__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_Log__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_Log__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_Log__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_Log__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_Log__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[ObjectAttribute]
if exists(select * from sysobjects where name = '__TR_ObjectAttribute__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_ObjectAttribute__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_ObjectAttribute__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_ObjectAttribute__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_ObjectAttribute__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_ObjectAttribute__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[ObjectData]
if exists(select * from sysobjects where name = '__TR_ObjectData__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_ObjectData__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_ObjectData__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_ObjectData__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_ObjectData__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_ObjectData__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[StatusDomain]
if exists(select * from sysobjects where name = '__TR_StatusDomain__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_StatusDomain__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_StatusDomain__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_StatusDomain__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_StatusDomain__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_StatusDomain__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[Task]
if exists(select * from sysobjects where name = '__TR_Task__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_Task__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_Task__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_Task__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_Task__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_Task__DELETE]
GO

--##SECTION END [AUDIT TRIGGERS]

